package ejbPart.session.stateless.testAccount;

import ejbPart.entity.bankAccount.Account;
import exceptions.DataAccessException;

import javax.ejb.EJBObject;
import java.rmi.RemoteException;

/**
 * Include definition of business methods.
 */
public interface TestAccount extends EJBObject {

    public double checkBalance() throws DataAccessException, RemoteException;

    public void addToAccount(double amount) throws DataAccessException, RemoteException;

    public Account findAccountById(String id) throws DataAccessException, RemoteException;
}
